package edu.pku.sei.modeler.figures;


public class CommentFigure extends StickyNoteFigure {
	/**
	 * Creates a new comment figure with the given margin.
	 * 
	 * @param borderSize the size of the border
	 */
	public CommentFigure(int borderSize) {
		super(borderSize);
	}
	
	/**
	 * Creates a new comment figure.
	 */
	public CommentFigure() {
		super();
		// comment is not a named element...
		//remove(nameLabel);
	}
	
	/**
	 * Set the body of the comment in the figure.
	 * 
	 * @param comment the body of the comment
	 */
	public void setComment(String comment) {
		super.setText(comment);
	}
	
	/* (non-Javadoc)
	 * @see com.cea.papyrus.core.common.figures.NodeFigure#setBorderColor(org.eclipse.swt.graphics.Color)
	 */
	/**
	 * 
	 * 
	 * @param borderColor 
	 */
//	@Override
//	public void setBorderColor(Color borderColor) {
//		// redefinition not to see a border around the comment
//		this.borderColor = borderColor;
//	}
}
